package com.bwie;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ErrorCode {
    SYSTEM_ERROR(500, "系统错误"),
    PARAM_ERROR(400, "参数校验失败"),
    AUTH_ERROR(401, "认证失败"),
    FORBIDDEN_ERROR(403, "权限不足");

    private final int code;
    private final String desc;
}
